package com.ehotting.eaf.redis.domain;

import lombok.Data;

@Data
public class RedisMsgDto<T> {

    private Long userId;

    private T data;

    public Class<?> getType(){
        return data.getClass();
    }
}
